package org.zoomdev.zoom.ioc;

import java.lang.reflect.Type;

public final class IocTypeKey extends IocKey {
    public IocTypeKey(Type type) {
        super(type);
    }

    public IocTypeKey(Type type, String name) {
        super(type, name);
    }


    @Override
    public Object getValue(Ioc ioc) {
        return ioc.fetch(this);
    }
}
